package com.sl.au.entity;

import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * 用户 事件类型绑定信息
 * 
 * @author exde
 *
 */
@Entity
@Table(name = "sl_wcsi_user_eventType_bind_info")
public class UserEventTypeBindInfo extends Root {
	@ManyToOne
	@JoinColumn(name = "userId")
	private User user;
	@ManyToOne
	@JoinColumn(name = "typeId")
	private EventType eventType;

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public EventType getEventType() {
		return eventType;
	}

	public void setEventType(EventType eventType) {
		this.eventType = eventType;
	}

}
